package com.bjf.db;

import java.sql.Types;

import org.hibernate.Hibernate;
import org.hibernate.dialect.MySQL5Dialect;

public class BJFMySQL5Dialect extends MySQL5Dialect {
	public BJFMySQL5Dialect() {
		super();
		registerHibernateType( Types.CHAR, Hibernate.STRING.getName() );
		registerHibernateType( Types.VARCHAR, Hibernate.STRING.getName() );
		registerHibernateType( Types.INTEGER, Hibernate.BIG_INTEGER.getName());
		registerHibernateType( Types.NUMERIC, Hibernate.BIG_DECIMAL.getName());
	}
}
